// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}
.el-select{
  width: 100%;
}
.el-upload__input {
  display: none;
}

@media print {
  html {
    background-color: #ffffff;
    height: auto;
    margin: 0px;
    color: red;
  }
  body {
    border: solid 1px #ffffff;
    color: red;
    // margin: 10mm 15mm 10mm 15mm; 
    margin: 10px;
  }
  #printJS-form .title{
    margin: 10px;
    padding-left: 10px;
  }
  #printJS-form table {
    table-layout: auto !important;
    font-size: 10px;
    // margin: 10px;
  }
  #printJS-form .el-table__header-wrapper .el-table__header {
    width: 100% !important;
    border: solid 1px #f2f2f2;
  }
  #printJS-form .el-table__header-wrapper .el-table__header th{
    padding:4px 0;

  }
  #printJS-form .el-table__body-wrapper .el-table__body {
    width: 100% !important;
    border: solid 1px #f2f2f2;
  }
  #printJS-form .el-table__body-wrapper .el-table__body td{
    padding: 0;
    padding:4px 0;
  }
  #printJS-form #pagetable table {
    table-layout: fixed !important;
  }
  #printJS-form .el-table__empty-block {
    width: 100% !important;
    height: auto !important;
  }
  #printJS-form .el-input-number--small{
    width: 100% !important;
  }

}
// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
  .printTables{
    // font-size: 18px;
    .title{
      padding: 10px;
    }
    
    .el-table{
      font-size: 8px;
      .el-table__header-wrapper{
        th{
          padding:8px 0;
          font-size: 8px;
        }
        .cell{
          padding: 0;
        }
        
      }
      .el-table__body-wrapper{
        .el-table__row{
          .cell{
            padding: 0;
          }
          td{
            padding:4px 0;

          }
        }
      }
    }
  }

  .processingTables{
    .el-table{
      .el-table__body-wrapper{
        overflow-y: auto;
        height: 400px;
      }
    }
    
  }
}
.system-dialog{
  .el-dialog__body{
    height: 700px;
    overflow: auto;
    ul {
      list-style-type: none;
    }
    li{
      text-align: center;
      list-style-type: none;
    }
    .trli {
      display: flex;
      // font-size: 16rem;
      height: 50px;
      line-height: 50px;
      // color: #FFFFFFE6;
      // border-bottom:  #566673FF;
      text-align: center;
      span{
        display: inline-block; 
      }
      .l2{
        width: 300px;
      }
      .el-radio.is-bordered.is-disabled{
        border-color: #409EFF;
      }
      .el-radio__input.is-disabled .el-radio__inner, .el-radio__input.is-disabled.is-checked .el-radio__inner{
        border-color: #409EFF;
        // background: #409EFF;
      }
      .el-radio__input.is-disabled.is-checked .el-radio__inner::after{
        background: #409EFF;
        width: 12px;
        height: 13px;
      }
      .el-radio__input.is-disabled+span.el-radio__label{
        color:  #409EFF;
      }
    }
  }
}
.visitDialog{
  margin-right: 30px;
  width: 600px;
}
.jsonItem{
  .el-radio-group{
    display: flex;
  }
  .isText{
    display: flex;
    // line-height: 30px;
    .el-radio__label{
      display: flex;
    }
    .el-radio__input{
      // line-height: 30px;
    }
  }
  .el-radio__label{
    padding-left: 5px;
  }
  .el-radio__input{
    .el-radio__inner{
      border-radius: 0;
      transition: border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46);
    }
    .el-radio__inner::after{
      box-sizing: content-box;
      content: "";
      border-radius: 0;
      border: 1px solid #fff;
      border-left: 0;
      border-top: 0;
      height: 7px;
      left: 4px;
      position: absolute;
      top: 1px;
      transform: rotate(45deg) scaleY(1);
      width: 3px;
      transition: transform .15s ease-in .05s;
      transform-origin: center;
      background: none;
    }
    .el-radio__inner.is-checked .el-radio__inner:after{
      transform: rotate(45deg) scaleY(1);
    }
  }
}
// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}

.tree{
  .el-tree-node__content{
    border: 1px solid #ddd;
    padding: 15px 0;
    margin-bottom: 1px;
  }
  .custom-tree-node{
    width: 100%;
    // display: flex;
    line-height: 28px;
    .label{
      font-weight: bold;
      .uri{
        color: #409eff;
        padding-left: 10px;
        font-weight: normal;
      }
    }
    .operate{
      float: right;
      padding-right: 20px;
    }
  }
}
.rolesDialog{
  .el-dialog__body{
    height: 630px;
    overflow: auto;
  }
}
.first_surgery_configDialog{
  width: 1300px;
  .el-dialog__body{
    height: 700px;
    
    overflow: auto;
  }
}
.tt{
  .el-form-item__content{
    display: flex;
    .el-input{
      width: 88%;
    }
  }
}
.tt2{
  .el-form-item__content{
    display: flex;
    .el-input{
      width: 10%;
    }
  }
}
.el-checkbox__input.is-checked+.el-checkbox__label{
  color: #000;
}
.bt1{
  .el-input{
    width: 10%;
    height: 30px;
    margin: 0 3px;
    input{
      height: 30px;
      line-height: 30px;
    }
  }
}
.tib{
  .el-select{
    width: 60%;
  }
  .el-date-editor{
    width: 190px;
  }
  
}
.l3{
  .el-date-editor{
    width: 250px;
  }
}
.l2{
  .el-input{
    width: 60%;
  }
}
.l5{
  .el-select{
    width: 80%;
  }
}
.l6{
  .el-select{
    width: 60%;
  }
}
.l7{
  .el-select{
    width: 35%;
  }
}
// table { table-layout: fixed; }
.el-table__expanded-cell {
  padding: 20px 0 !important;
  padding-left: 50px !important;
}
.collaborative_task_box{
  display: flex;
  .task{
    width: 28%;
    // border: 1px solid #ccc;
    padding-left: 10px;
    padding-bottom: 5px;
    .el-form-item{
      display: block;
      margin-bottom:0px;
      height: 30px;
      line-height: 30px;
    }
  }
  .status{
    width: 15%;
    // border: 1px solid #ccc;
    border-left: none;
  }
  .caseInfo{
    width: 19%;
    border-left: none;
  }
  .surgicalInfo{
    width: 17%;
  }
  .suppor{
    width: 21%;
    // border: 1px solid #ccc;
    border-left: none;
  }

}

.leftBox{
  .el-table__body-wrapper{
    height: 350px;
    overflow-y: auto;
  }
}
.recoverBed{
  .el-switch__label{
    font-size: 18px ;
    span{
      font-size: 18px ;
    }
  }
  .el-switch__label.is-active{
    color: #000;
  }
}


.el-input__inner{
  height: 36px;
  line-height: 36px;
}
.el-input__icon{
  line-height: 36px;
}
// .el-date-editor{
//   width: 200px !important;
// }
.el-button--primary{
  background: #2175db;
  height: 36px;
  
}
.el-button{
  padding: 10px 20px;
}
.el-button--mini{
  padding: 7px 15px;
  height: 28px;
}
.el-table th{
  background: #f2f3f5;
}
.el-table td{
  padding: 7px 0 8px 0;
}
.el-table thead th{
  padding: 7px 0 8px 0;
}
.el-table__body tr.current-row>td{
  background: #eff5fd;
}
.filter-container{
  background: #fff;
  padding: 7px 0;
  padding-left: 20px;
  margin-top:5px !important;
}
.el-form-item{
  white-space: nowrap;
  overflow: hidden;
}
.systemTable{
  .el-table__body-wrapper{
    overflow-y: auto;
    // height: 750px;
    max-height: calc(100vh - 330px);
  }
}
.region{
  .el-table__body-wrapper{
    overflow-y: auto;
    // height: 645px;
    max-height: calc(100vh - 460px);
  }
}
.screen_show_config{
  .el-table__body-wrapper{
    overflow-y: auto;
    // height: 645px;
    max-height: calc(100vh - 550px);
  }
}
.taskTable{
  .el-table__body-wrapper{
    overflow-y: auto;
    // height: 645px;
    max-height: calc(100vh - 540px);
  }
}
.surgicalcare{
  .el-table__body-wrapper{
    overflow-y: auto;
    // height: 645px;
    max-height: calc(100vh - 400px);
  }
}
.analysis{
  .el-table__body-wrapper{
    overflow-y: auto;
    // height: 645px;
    max-height: calc(100vh - 320px);
  }
}
